<foreach name="accountlist" item="account">
    <tr>
        <td>{$account.account_id}</td>
        <td>{$account.agent_name}</td>
        <td>{$account.amount}</td>
        <td>{$account['record_time']|date='Y-m-d',###}</td>
        <td>{$account['record_ip']}</td>
        <td>{$account['record_remark']}</td>
        <td>
            <if condition="$account['audit_status'] eq '0'">
                <strong class="no">未审</strong>
                <elseif condition="$account['audit_status'] eq 1"/><strong class="yes">通过</strong>
                <else/><a class="amt">未通过</a>
            </if>
        </td>
    </tr>
</foreach>
<tr><td colspan="7">{$page}</td></tr>
<script type="text/javascript">
    $(document).ready(function(){
        $(".pagination a").click(function(){
            cur_page = $(this).data('p');
            ajax_get_table(cur_page);
        });
    });
</script>